/**
 * Copyright(c) 2022 GOING INTERNATIONAL高盈国际
 * All Rights Reserved
 * @File        : spi.go
 * @Author      : zybin.zou
 * @Create      : 2022/6/30 1:45
 * @Modified    : 2022/6/30 1:45
 * @version     : 1.0
 * @Description :
 */

package main

import (
	"fmt"
	"unsafe"
)

type GoSpi struct {
}

func (r *GoSpi) UintPtr() uintptr {
	return uintptr(unsafe.Pointer(r))
}

func (r *GoSpi) OnResult(retCode int) {
	fmt.Println("go on result:", retCode)
}
